I have an app that is working correctly on macOS Catalina but in Big Sur it doesn't have access to iCloud.
CKContainer containerWithIdentifier:accountStatusWithCompletionHandler: returns CKAccountStatusNoAccount and [[NSFileManager defaultManager] ubiquityIdentityToken] returns nil
In System Preferences it is not even listed in the apps that use iCloud.
Signing & Capabilities is properly configured and is working on macOS Catalina. On the computer with Big Sur I have verified that I have iCloud on and I have exchanged files through iCloud Drive with my iPhone.
The only peculiarity of the app is that it is a Mac Catalyst app.
Something similar is happening to someone? Anyone know how I could solve it?
Thanks!
Post
Replies
Boosts
Views
Activity
My app has been rejected for its metadata. I have corrected them as requested.
But I have to answer in Resolution Center for the review to continue and when I press the Send button it says that there was an error saving the changes and to try again later.
Is this happening to someone else? Could someone tell me how to fix it?
Thank you all.
Hi everyone,
I have added WidgetKit to my app but on iOS 13 devices it crashes when the app starts with this error:
dyld`__abort_with_payload
The part of the code that causes the crash is this:
static func reloadTimelines () {
if #available(iOS 14, *) {
WidgetCenter.shared.reloadTimelines(ofKind: "com.myDomain.myApp.ProgressWidget")
}
}
I have tried other unsuccessful variations like this:
@available(iOS 14, *)
static func reloadTimelines () {
WidgetCenter.shared.reloadTimelines(ofKind: "com.myDomain.myApp.ProgressWidget")
}
The project is in objective-c and I import that class in swift.
But without adding #import "myApp-Swift-h" anywhere, or using that class it keeps crashing.
Can someone tell me what I am doing wrong or what is happening?
Thanks in advance.